﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace groupAnalyzer.model
{
    public class NodeConnection
    {
        private Node to;
        private Node from;
        private NodeConnectionMode mode;

        public NodeConnectionMode Mode
        {
            get
            {
                return this.mode;
            }
        }

        public Node To
        {
            get
            {
                return this.to;
            }
        }

        public Node From
        {
            get
            {
                return this.from;
            }
        }

        public NodeConnection(Node from, Node to, NodeConnectionMode mode)
        {
            this.to = to;
            this.from = from;
            this.mode = mode;
        }
    }
}
